package com.itheima.service.ums;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.vo.ums.AdminRole;
import com.itheima.vo.ums.UmsRole;

import java.util.List;

public interface AdminRoleService extends IService<AdminRole> {
    void removeByAdminId(Integer adminId);

    /**
     * 获取指定用户的角色
     * @param adminId
     * @return
     */
    List<UmsRole> getRole(Integer adminId);
}
